package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum MicroLoanQuotaEnum implements IBaseEnum<Integer> {

    /**
     * 微粒贷额度 0.无要求 1.额度500及以上 2.额度1000及以上 3.额度3000及以上 4.额度5000及以上 5.额度10000及以上
     */
    NO_REQUIRED(0, "无要求",false),
    ABOVE500(1, "500及以上",false),
    ABOVE1000(2, "1000及以上",false),
    ABOVE3000(3, "3000及以上",true),
    ABOVE5000(4, "5000及以上",false),
    ABOVE10000(5, "10000及以上",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;

    MicroLoanQuotaEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
